<!DOCTYPE html>
<html>
<head>
	<title>栈</title>
</head>
<body>
	<script type="text/javascript">
		var arr = new Array("red","blue","green");
			// arr.push("gray");
			// arr.unshift("yellow");
			// arr.pop();
			arr.shift();
			console.log(arr);
	</script>

</body>
</html>